﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Brjostagjof.Models.ArticleViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf - Eyða fréttagrein - <%: Model.article.Title %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Eyða Grein</h1>

    <h2>Ertu viss um að þú viljir eyða: <%: Model.article.Title %></h2>
    <p>*Grein verður til í gagnagrunni en verður falin notendum</p>


    <% using (Html.BeginForm()) { %>
        <p>
            <input type="hidden" name="Author" id="Author" value="<%: Model.article.ID %>" />
		    <input type="submit" value="Eyða" /> |
		    <%: Html.ActionLink("Til baka", "SynaGrein", new { id = Model.article.ID })%>
        </p>
    <% } %>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Actions" runat="server">
</asp:Content>

